<?php
namespace App\Vehicle;

/**
 * Created by PhpStorm.
 * User: libin
 * Date: 2017/9/7
 * Time: 上午10:04
 */
abstract class Vehicle
{
    protected $name;
    protected $color;

    public function __construct($name, $color)
    {
        $this->name = $name;
        $this->color = $color;
    }

    public function move()
    {
        echo '向前移动';
    }
}